﻿using System;
using Pay.TO;

namespace Pay.Data {
	/// <summary>
	/// 商户向通道进件
	/// </summary>
	public class MerchantRegister {
		public MerchantRegister() {
		}

		/// <summary>
		/// 进件id
		/// </summary>
		public long Id { get; set; }
		/// <summary>
		/// 商户id
		/// </summary>
		public long MerchantId { get; set; }
		/// <summary>
		/// 通道
		/// </summary>
		public PayChannel PayChannel { get; set; }
		/// <summary>
		/// 结算类型：T0,T1
		/// </summary>
		public string SettleType { get; set; }
		/// <summary>
		/// 通道编号
		/// </summary>
		public string MerchantNo { get; set; }
		/// <summary>
		/// 开户银行,字典编号
		/// </summary>
		public string BankCode { get; set; }
		/// <summary>
		/// 开户银行
		/// </summary>
		public string BankName { get; set; }
		/// <summary>
		/// 支行编号
		/// </summary>
		public string BranchCode { get; set; }
		/// <summary>
		/// 支行名称
		/// </summary>
		public string BranchName { get; set; }
		/// <summary>
		/// 卡号
		/// </summary>
		public string AccountNo { get; set; }
		/// <summary>
		/// 开户姓名/公司名称
		/// </summary>
		public string AccountName { get; set; }
		/// <summary>
		/// 预留手机号
		/// </summary>
		public string Mobile { get; set; }
		/// <summary>
		/// 卡类型：0个人，1企业
		/// </summary>
		public int BusiType { get; set; }
		/// <summary>
		/// 身份证
		/// </summary>
		public string IdCard { get; set; }
		/// <summary>
		/// 省市区,最后一级
		/// </summary>
		public long RegionId { get; set; }
		/// <summary>
		/// 手持银行卡正照
		/// </summary>
		public string CardHandheld { get; set; }
		/// <summary>
		/// 是否补件：是补件不可以实名时修
		/// </summary>
		public bool IsPatch { get; set; }
		/// <summary>
		/// 卡进件状态
		/// </summary>
		public string Cards { get; set; }
		/// <summary>
		/// 是否进件成功
		/// </summary>
		public int IsSuccess { get; set;}
		/// <summary>
		/// 用户唯一编号
		/// </summary>
		public string OpenId { get; set;}

		/// <summary>
		/// 商户信息
		/// </summary>
		public virtual Merchant Merchant { get; set; }
	}
}
